﻿<?php
	if (!isset($_SESSION)) {
		session_start();
	}
	
	// Clear previous messages.
	if(isset($_SESSION['error'])) session_unregister('error');
	if(isset($_SESSION['success'])) session_unregister('success');
	
	if(session_destroy()){
		header("Location: ../../");
	}
?>